<include file="Public:header" />
<div class="page-member subpage">
    <div class="form-header">
        <div>
            <div class="line1">
                <div class="fl"><h3>更换房源记录 / {$lotlog.name}</h3></div>
                <div class="fr hidden">
                    <form class="search-form" method="post" action="">
                        <input name="field" value="{$context.field}" type="hidden" />
                        <input name="value" value="{$context.value}" type="hidden" />
                        <input name="page" value="{$context.page}" type="hidden" />
                        <input name="order_field" value="{$context.order_field}" type="hidden" />
                        <input name="order_sort" value="{$context.order_sort}" type="hidden" />
                        <input name="offset" value="{$context.offset}" type="hidden" />
                        <input name="id" value="{$context.id}" type="hidden" />
                    </form>
                </div>
            </div>
            <div class="line2">
                <!-- 编辑按钮组 -->
                <div class="fl form-btn-group btn-group-save">
                    <button onclick="javascript:void(0);" class="btn-save btn-disable">编 辑</button>
                    <span>或</span>
                    <a onclick="history.back(-1);" class="linkBtn btn-abort" href="javascript:void(0);">返回</a>
                </div>
                <div class="fl form-btn-more">
                    <button class="btn-normal btn-more">
                        更多操作<i class="drop-down"></i>
                    </button>
                </div>
                <div class="fr form-search-count">
                    <span class="index">{$context.index}/{$page.total}</span>
                    <button onclick="ItemJump({$page.prev.id}, {$page.prev.offset});" class="btn-normal">上一条</button>
                    <button onclick="ItemJump({$page.next.id}, {$page.next.offset});" class="btn-normal">下一条</button>
                </div>
            </div>
        </div>
    </div>
    <div class="form-box2">
        <div>
            <form id="lotlogForm" method="post" action="">
                <!--表单相关原始信息存储-->
                <input type="hidden" name="old_no" value="{$lotlog.no}" />
                <input type="hidden" name="old_name" value="{$lotlog.name}" />
                <input type="hidden" name="old_seq" value="{$lotlog.seq}" />
                <input type="hidden" name="old_batch_id" value="{$lotlog.batch_id}" />
                <input type="hidden" name="old_idno" value="{$lotlog.idno}" />
                <input type="hidden" name="old_phone" value="{$lotlog.phone}" />
                <input type="hidden" name="old_house_addr" value="{$lotlog.house_addr}" />
                <input type="hidden" name="old_state" value="{$lotlog.state}" />
                <input type="hidden" name="old_remarks" value="{$lotlog.remarks}" />
                <input type="hidden" name="old_contact_no" value="{$lotlog.contact_no}" />
                <table class="form">
                    <tr>
                        <th width="15%">姓名<span class="hint">*</span></th>
                        <td width="35%" field="name">{$lotlog.name}</td>
                        <th width="15%">身份证<span class="hint">*</span></th>
                        <td field="idno">{$lotlog.idno}</td>
                    </tr>
                    <tr>
                        <th>联系电话<span class="hint">*</span></th>
                        <td field="phone">{$lotlog.phone}</td>
                        <th>换房依据<span class="hint">*</span></th>
                        <td field="reason">{$lotlog.reason}</td>
                    </tr>
                    <tr>
                        <th>已分配房源<span class="hint">*</span></th>
                        <td field="house_addr1">{$lotlog.house_addr1}</td>
                        <th>更换房源<span class="hint">*</span></th>
                        <td field="house_addr2">{$lotlog.house_addr2}</td>
                    </tr>
                    <tr>
                        <th>换房日期<span class="hint">*</span></th>
                        <td field="ctime">{$lotlog.ctime}</td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
</div>
<script src="__JS__/lotlog.js" type="text/javascript" ></script>
<include file="Public:footer" />
